package com.backstage.common.annotation.log;

import com.backstage.common.base.enum_bean.LogType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 操作日志
 * @Project authority
 * @Package com.backstage.common.annotation.log
 * @Data 2017/8/4下午 5:39.
 * @Aurhor 阮雪峰
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD})
public @interface Operate {
    String value();

    LogType logType() default LogType.operate;
}
